<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="./lib/vue.min-2.6.11.js"></script>
</head>

<body>

    <div id="app">
        <h1 v-text="msg"></h1>

        <!-- <input type="text" :value="text" style="width: 100%;"> -->
        <input type="text" v-model="text" style="width:100%;">
    </div>
</body>

<script>
    const vm = new Vue({
        el: '#app',
        data: {
            msg: 'h1  biaoqian',
            text: '文本内容'
        }
    })
</script>

</html>